package com.hzqdn.monsterrecommend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzqdn.monstermodel.dto.recommend.QuestionRecommendRequest;
import com.hzqdn.monstermodel.dto.recommend.UserRecommendRequest;
import com.hzqdn.monstermodel.vo.recommend.QuestionRecommendVO;
import com.hzqdn.monstermodel.vo.recommend.UserRecommendVO;

public interface RecommendService {
    /**
     * 获取用户推荐列表
     */
    Page<UserRecommendVO> getUserRecommendList(UserRecommendRequest userRecommendRequest);

    /**
     * 获取题目推荐列表
     */
    Page<QuestionRecommendVO> getQuestionRecommendList(QuestionRecommendRequest questionRecommendRequest);

    /**
     * 更新用户推荐状态
     */
    boolean updateUserRecommendStatus(Long userId, Long recommendUserId, Integer status);

    /**
     * 更新题目推荐状态
     */
    boolean updateQuestionRecommendStatus(Long userId, Long questionId, Integer status);
}